home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The 640 MEG Shareware Studio 2
/
The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO
/
compress
/
arclb193.zip
/
ARCLAB.DOC
next >
Wrap
Text File
|
1992-11-02
|
14KB
|
328 lines
<ArcLab.doc V 1.93 2/11/92>
What's new since last time ?
****************************
1.93 2/11/92 bug correction: when there was an error, the log was not
created properly.
History
*******
I'm running a BBS and i wanted to have all the files in one format only
for the user's convenience and mine. I've been using lots of packer and
unpackers but none of them could function in unattended mode (batch
mode). So i wrote this. The purpose is simple: I run this after any
upload in the upload directory. When i come back i just have to shuttle
the file and the description to the right directory. No sweat ! By
default the whole directory is analyzed and treated. Arclab used to be
called ConvArc until V 0.95. All versions have been running on my BBS
until the next version release. (in other words, it is safe).
Release
*******
full history: see arclab.rev
0.50 17/01/92 first really working version of ConvARC. Treats the whole
directory, not processing LZH or unrecognized extentions. The
recognition processed is not intelligent yet. Params not quite
treated either but working enough for my purpose (massive
conversion)
1.00ß 20/02/92 ConvARC becomes ARC lab 1.00. Major differences:
1) the arc recognition is now smart: the recognition is done
after analysis of the arc, not according to extention as it used
to be. It allows batch processing of SDS/SDN/WinNet files or
anything for that matter. If a LZH archive is found, it analyses
the level of compression. If it is < 4 it will repack the
archive.
2) There is a config file where you can store once and for all
all the options that used to be on the config line. The config
file MUST RESIDE in the SAME directory as ArcLAB.EXE !!!!!
Otherwise the prog won't find it !
1.10ß 22/02/92 Features added:
a) now displays type of conversion
b) PAK now supported => new K switch added
c) better looking output
d) Other options added in config file:
O(ther):
you can specify there an action that will take place IN THE
TEMPORARY DIRECTORY WHERE THE UNPACKING IS DONE. This option is
to be used with great care: you can easily run out of memory
BUT the reason for this option is to be able to call ARCLAB
itself again ! to treat other arc inside the arc. Explanation: if
you a big.zip containing smal1.zip and smal2.zip can now be
treated. However, be aware that
1) the config file will be used !
2) the options will be treated in the order of their
appeareance. So my suggestion is
ligne option 1 make a swap of the config
ligne option 2 if exists *.zip arclab
ligne option 3 if exists *.pak arclab
ligne option 4 if exist *.zip del *.zip
ligne option 5 if exist *.pak del *.pak
ligne option 6 deletes the arclab.log
(otherwise packed in the arc!
ligne option 7 make a swap of the config
or something in the way of.
V(IROK): message displayed if virus test showed nothing special
N(OTOK): message displayed if virus test failed
K(ILL VIR): action to be taken if virus found.
again this option is to be used with great care. Already
available are the production of a file: ALARM.FFT, an entry
is written in the log and the program exits IMMEDIATELY
with error level 666. The existence of the file can be checked
by the "if exist alarm.fft " of the dos and the 666 errorlevel
can be recovered and treated in a batch.
=>=>=> It is voluntarily that i do NOT recurse the directory to change
NOTE all archive found into whatever you want. Some programs are
=>=>=> distributed with an install procedure that will NOT work if the
archive has been repacked (Qmodem, dBridge, etc). I provide a
way to do it, but YOU take the responsability of repacking.
1.20 25/02/92 special request from Dino Vander.Roost, sysop of Media
Concept (2:293/3400): update the Files.bbs or any other file if
the P switch is found in config file.
1.40 28/02/92 special request from Georges Troupin, sysop of Mosacom:
I added 2 options in the config file to eXclude some files from
conversion.
1.50 29/02/92 multi lingual config added.
1.90 * 30/09/92 exclusion bug again, this time for good I hope. The
skip routine if not enough space left is also rewritten.
Added 3 messages in config: U scanning message, W unpacking
message and Y packing message. Gives a bit more indication about
what is going on. Optimized also.
1.92 16/10/92 bug correction in error trapping. The log is now
written before exitting if there is a problem. The maximum
number of files to be treated is jacked up to 1250 and the
maximum number of files added, changed, killed or excluded is up
to 500 each by converting part of variable to pointers instead
of arrays.
1.93 2/11/92 bug correction: when there was an error, the log was not
created properly.
Technical stuff
****************
This is written using Turbo Pascal 6.0 (Tm of Borland).
1675 lines source code for about 43 k. (not counting
includes)
Source code availability
*************************
source code is not available: it is dull, long and unecessarily
complicated. Get High: write your own !
Disclaimer
**********
The only thing I can guarantee is that this program will take up space on
your hard disk. The rest is beyond my control. Use it at your own risks,
i don't wanna hear about it. To the best of my knowledge, this program
shoudln't harm your hardware or software in any way. Arclab has been
used in batch mode with no problem for months on my BBS and there is no
reason it shoudn't function in the same flawless way on your machine.
However, if there be any problem, i shall in no case be liable for
anything. (How's that for a disclaimer !).
=>> ßeta policy:
****************
if a version carries the ßeta sign, it means it has not been fully
tested. The version might actually work flawlessly in 99 % of the cases
but again it might not. In any case, ALL BETA VERSION WILL COMMIT
SUICIDE AT THE LATEST ON THE MARCH 4TH FOLLOWING THEIR RELEASE. A beta
version is usually what it implies: a program not finished yet and i
don't want unfinished programs on the loose. If you get a beta and don't
see a normal realease appearing afterwards and would like to continue
using the product, just netmail me or download it from CTServe
(2:270/25). Media Concept (2:293/3400) and usually Tornado (292/600)
also carry my softs.
Registration
************
This is not free software and it is copyrighted Thunus F. 1992.
This is ShareWare, so if you continue to use it for more than 30 days,
you should register by sending $20 or 400BEF or 20DM or 50FF to
Thunus F. 43 rue des Ateliers, B-6792 Halanzy Belgium
You will receive a code number that will deactivate the shareware
notice, the annoyance delay and include your name in the output (if any)
of the program. Registration can be made for any name or string of
character up to 30 char long. Failure to register means bad karma.
Installation
************
This archive should contain the following files:
ArcLab.exe (59680)
ArcLab.doc quick doc
Arclab.rev revision history (with usefull info !)
ArcLab.fft sample config file
This software will convert anything in anything or almost. I support
ARJ, LZH, PAK, ZIP, ARC, ZOO and SQZ. When a file of this type is
recognized and unless it is on the exclusion list, it will be
transformed in any of the other format you choose except SQZ. Optionnaly
the files.bbs will be updated or any other file. You can also delete
some files from the archive and add some others, and place you banner in
the commentary section of the arc if it is supported.(see arclab.rev for
zoo limitation). The content of the file is also scanned for virus and
action to be taken in case it is found is up to you. I suggest you have
a look at the sample config file to see all the possibilities. You can
replace all messages by your own, treat a whole dir at the time or just
one file, etc.
ALL PACKERS AND UNPACKERS MUST BE ACCESSIBLE TO DOS (ie in path: ARJ,
ZOO, LHA, PKzip, PKunzip, PKpak, PKunpak, ETC). You can also pass as
param 1 Z, J, A, O, K or L for zip, arj, pkpak, zoo, PAK or Lha. Zip is
1.10, arj was tested with 2.13 and 2.3, pkpak is last version, zoo
tested with 2.10 but should work with previous to unpack. The packing is
done with h switch (2.10 and up only). PAK was tested with 2.50 and
2.51, lha is 2.13 and default. If param 1 is a valid filename, only that
file will be treated. You can then pass Z,A,O, K, L or J as second
parameter.(or S if you want a sound when work is done).
summary:
set scan='c:\virus\myprog.exe'
set scanpar='my PaRaMs'
┌─────────────────────────────────────────────────────────────────────────────┐
│ Parameter 1: path to arc or conversion type (like 2)(default = all dir) │
│ Parameter 2: op: Z=PKZIP * A=PKPAK * J=ARJ * O=ZOO * K=PAK * L=LHA (default)│
│ Parameter 3: s means sound wanted: sounds when finished │
└─────────────────────────────────────────────────────────────────────────────┘
examples:
ArcLab test.zip (into lha)
ArcLab test.lzh Z (into zip)
ArcLab test.lzh Z s (into zip and sound when done)
ArcLab J (all directory into ARJ)
ArcLab s (all directory into lharc and sound when done)
or a config file named ARCLAB.FFT like:
; Config file for ARClab 1.90 (C) Thunus F. 1992
; redefinition of default screen messages:
; "switch" means toggle an option ON or OFF
; "File" means the name of a file is expected to begin
; on the 4th position
; 1 Converting into :
; 2 Sound Option is :
; 3 Virus Killer :
; 4 No Virus msg :
; 5 Virus Found msg :
; 6 Virus Action :
; 7 Patching :
; 8 Adding file :
; 9 In temp doing :
; A means ADD a file to the arc (typically a banner) (max 50) (file)
; B Brutal (ie STRICT) Check to exclude file from treatment. (file)
; a couple of explanations: X scan86.zip and B means that if scan86.zip
; is found, it will not be treated. The difference between the 2 is in
; the coding: for B i do this: If (nomarc.ext)=(confignam.ext) then
; begin Faire:= false;exit;end; No if , but or whatever.
; IT IMPLIES YOU MAY NOT USE WILDCARDS WITH B OPTION. The X option
; however, is much more sophisticated; i'm looking for wildcards, etc I.E.
; SLOWER, which is why i kept the 2. If there is a file you know about
; or have been warned about and know the name 200% for sure, then use B.
; Else, use X
; C Not converting :
; (no conversion message)
; D name of the file to be deleted (file)
; E Deleting :
; (deleting message)
; F restore date of the archive converted default:= off (switch)
; H name of the banner file (file)
; I Banner file is :
; (banner message)
; K is the action to be take when the virus is found (file)
; L means limit the output to minimum (switch)
; M Turns the music (ie Sound) on. (switch)
; N is the message when virus scan failed
; O is any action to be taken IN THE TEMP DIR (max 50)
; P means patching Files.bbs or file given as argument (switch)/(file)
; Q quiet mode: switches of display of msg 4 and 5
; S is followed by the scanning option and overrides any other setting,
; including the scan and scanopt environement variables
; T is the type of conversion wanted: default is LZH. Valid options are:
; Z O J A L K (Zip, zOo, arJ, Arc, Lzh, paK) (switch)
; U is the scanning message
; V is the message displayed when virusscan OK
; W is the unpacking message
; X means exclude this file from treatment. Wildcards admitted
; Y is the packing message
;
; ┌──────────────────────────────────────────────────────────────────────────┐
; │ │
; │ For all switches, the name and path of file MUST start on 4th position │
; │ │
; └──────────────────────────────────────────────────────────────────────────┘;
;
Kudos / ACK
************
- Frank Van Uffelen, sysop of Tornado BBS Belgium. By sending me about 170
Megas on tapes to put on my bbs he gave me the idea to write this. His
files were a NICE mixture of every kind of archive you can dream of !
:=) Hi Frank !
- Turbo Pascal is a trademark of Borland International.
- IBM is a trademark of International Business Machines Corporation.
(this line is intentionally left blank)
- MS-DOS is a trademark of Microsoft Corporation.
- Windows, by the people who brought you EDLIN (sorry couldn't resist)
- ARc is definitely a trademark of SEA
- Pak is a Trademark of Nogate Consulting.
- PKZIP and PKPAK are trademarks of PKWARE
- LHARC is (C) Yoshi
- ARJ is (C) Robert K. JUNG
- ZOO is (C) Rahul Dhesi
- Dino Vander.Roost, sysop of Media Concept for suggestions and support
- Georges Troupin, sysop of Mosacom for suggestions.
Just in case I left anyone out, here is a global acknowledgement of
copyright:
*.* is a copyright / trademark / service mark / trade name / pet
project / patent of *.*, All rights reserved.
Support
********
Support and registration :
You can reach me @ CTServe: + 352 45 26 65 (8N1) 24h
AKA SysOp or FidoNet 2:270/25 or 2:270/25.1
or Francois@fido.lu on Internet
or by snailmail to
Thunus F.
43 rue des Ateliers
B-6792 Halanzy
Belgium
No Voice Phonecall please ! all netmail will be answered.
If ((comment > 0) or (happiness > 0)) then
begin
NetMail:=NetMail+1;
Happiness_programmer:=Inc(Happiness_programmer);
end;
If Happiness > 0 then repeat
inc(programming);
shareware:=shareware++;
until NMI;
Drop also a line to give feedback. I've been known to hang around pascal
conference in various bbs amongst which the superb Media Concept in
Belgium as well as PC AArhus (Denmark).